﻿using YWM.DependencyInjection;

namespace YWM
{
    /// <summary>
    /// 基础模块类
    /// </summary>
    public abstract class BaseModule
    {
        /// <summary>
        /// 依赖注入容器创建器
        /// </summary>
        protected internal MyContainerBuilder ContainerBuilder { get; internal set; }

        /// <summary>
        /// 初始化操作
        /// </summary>
        public virtual void Initialize()
        {
        }

        /// <summary>
        /// 初始化之后操作
        /// </summary>
        public virtual void PostInitialize()
        {
        }
    }
}
